<template>
	<div class="title_box">
		<div class="title_box_left">
			<img src="../../src/assets/home/title-icon.png" alt="">
			<p>{{list.title}}</p>
		</div>
		<slot name="more"></slot>
	</div>
</template>

<script setup>
	const list = defineProps({
		title:String
	})
</script>

<style scoped lang="scss">
	.title_box{
		display: flex;
		align-items: center;
		justify-content: space-between;
		&_left{
			display: flex;
			align-items: center;
			img{
				width: 55px;
			}
			p{
				font-size: 34px;
				font-weight: 600;
				color: #11918E;
				margin-left: 10px;
			}
		}
	}
</style>